package com.zeros.mysplash.http.network;

import com.zeros.mysplash.bean.Common;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;
import retrofit2.http.Url;

/**
 * Retrofit网络接口 on 2017/12/20.
 */

public interface ApiStores {

    /**
     * 1. 获取闪屏页
     */
    @GET("fundworks/media/getFlashScreen")
    Observable<Common> getSplashImage(@Query("type") int type);

//    @GET
//    Observable<Common> getSplashImage(@Url String url);

}
